import { createRouter, createWebHistory } from "vue-router";
import Home from "./components/register.vue";
import About from "./components/login.vue";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/about',
      name: 'About',
      component: About
    }
  ]
});

export default router;
